package cn.bone.common.api.demo.service;

import cn.bone.common.api.demo.request.DemoUserLoginRo;
import cn.bone.common.api.demo.response.DemoUserHomePageVo;
import cn.bone.common.api.demo.response.DemoUserLoginVo;
import cn.bone.common.http.CommonRequest;
import cn.bone.common.http.CommonResult;

/**
 * Created by superbone on 2017/4/21.
 */
public interface IUserService {

    /**
     * 测试用户登录
     * @param request
     * @return
     */
    CommonResult<DemoUserLoginVo> login(CommonRequest<DemoUserLoginRo> request);

    /**
     * 测试空参数
     * @param request
     * @return
     */
    CommonResult<DemoUserHomePageVo> homePage(CommonRequest<Void> request);
}
